<?php

namespace app\admin\controller\article;

use app\common\controller\AdminController;
use app\common\service\article\CategoryService;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="article_category")
 */
class Category extends AdminController
{

    use \app\admin\traits\Curd;

    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \app\admin\model\ArticleCategory();
        
    }

    public function pids()
    {
      $data = CategoryService::findPid();
      return $this->success('成功',$data);
    }

    
}